#! /usr/bin/python3
# _*_ coding:UTF-8 _*_

def fact_iter(num, result):
	if num==1:
		return result
	return fact_iter(num-1, num*result)
def fact(n):
	return fact_iter(n,1)

print(f'调用结果{fact(5)}')
print(f'调用结果{fact(10)}')
print(f'调用结果{fact(50)}')